package com.zlkj.pro.modular.business.service;

import cn.stylefeng.roses.kernel.message.api.pojo.response.MessageResponse;
import cn.stylefeng.roses.kernel.message.db.entity.SysMessage;
import com.zlkj.pro.core.enums.MsgTemplateEnum;
import com.zlkj.pro.modular.business.model.vo.MessageVO;

import java.util.List;

/**
 * @author liyang
 */
public interface MessageService {

    List<MessageVO> findList(Long userId, Integer type, String queryString);

    MessageResponse detail(Long messageId);

    Integer countUnread(Long userId);


    /**
     * 发送消息
     *
     * @param template
     * @param receiverUserIds
     * @param replaceStr
     */
    void sendMessage(MsgTemplateEnum template, Long reportId,List<Long> receiverUserIds, List<String> replaceStr, String desc);


}
